ActiveReports 12
DelegateCommand Constructor(Action,Func<Boolean>)

GrapeCity.ActiveReports.Viewer.Wpf.v12 Assembly > GrapeCity.Viewer.Common Namespace > DelegateCommand Class > DelegateCommand Constructor : DelegateCommand Constructor(Action,Func<Boolean>)
The command will be executed.
Determines whether the command can be executed or not.
Initializes a new instance of the DelegateCommand class.
Syntax
'Declaration
 
Public Function New( _
   ByVal executeAction As Action, _
   ByVal canExecute As Func(Of Boolean) _
)
public DelegateCommand( 
   Action executeAction,
   Func<bool> canExecute
)

Parameters

executeAction
The command will be executed.
canExecute
Determines whether the command can be executed or not.
See Also

Reference

DelegateCommand Class
DelegateCommand Members
Overload List